#include "ZSingleton.h"

ZFLIB_BEGIN_NAMESPACE

template<typename T>
T *Singleton<T>::getInstance()
{
    static T instance;
    return &instance;
}

ZFLIB_END_NAMESPACE
